package Java;

public class work27 {
	public static void main(String[] args){
		int i,j;
		int flag;
		for(i = 2;i<=100;i++){
			flag = 0;
			for(j = 2;j<i;j++){
				if(i%j==0){
					flag = 1;
					break;
				}
			}
			if(flag == 0){
				System.out.println(i);
			}
		}
	}
}
